package cn.hrlly.tao2shou.domain;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * User: gengliang
 * Date: 2016-01-26
 * Time: 13:24
 */

public class Order {

    @SerializedName("status")
    private int status;
    @SerializedName("error_message")
    private String errorMessage;
    @SerializedName("order_time")
    private String orderTime;
    @SerializedName("trade_price")
    private String tradePrice;
    @SerializedName("trade_method")
    private int tradeMethod;
    @SerializedName("trade_time")
    private String tradeTime;
    @SerializedName("trade_location")
    private String tradeLocation;
    @SerializedName("commodity_name")
    private String commodityName;
    @SerializedName("commodity_photo")
    private String commodityPhoto;
    @SerializedName("release_id")
    private String releaseId;
    @SerializedName("seller_nickname")
    private String sellerNickname;
    @SerializedName("buyer_nickname")
    private String buyerNickname;
    @SerializedName("seller_phone_number")
    private String sellerPhoneNumber;
    @SerializedName("buyer_phone_number")
    private String buyerPhoneNumber;
    @SerializedName("barter_name")
    private String barterName;
    @SerializedName("barter_photos")
    private List<String> barterPhotos;
    @SerializedName("barter_description")
    private String barterDescription;
    @SerializedName("order_status")
    private int orderStatus;

    @Override
    public String toString() {
        return "Order{" +
                "status=" + status +
                ", errorMessage='" + errorMessage + '\'' +
                ", orderTime='" + orderTime + '\'' +
                ", tradePrice='" + tradePrice + '\'' +
                ", tradeMethod=" + tradeMethod +
                ", tradeTime='" + tradeTime + '\'' +
                ", tradeLocation='" + tradeLocation + '\'' +
                ", commodityName='" + commodityName + '\'' +
                ", commodityPhoto='" + commodityPhoto + '\'' +
                ", releaseId='" + releaseId + '\'' +
                ", sellerNickname='" + sellerNickname + '\'' +
                ", buyerNickname='" + buyerNickname + '\'' +
                ", sellerPhoneNumber='" + sellerPhoneNumber + '\'' +
                ", buyerPhoneNumber='" + buyerPhoneNumber + '\'' +
                ", barterName='" + barterName + '\'' +
                ", barterPhotos=" + barterPhotos +
                ", barterDescription='" + barterDescription + '\'' +
                ", orderStatus=" + orderStatus +
                '}';
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public String getTradePrice() {
        return tradePrice;
    }

    public void setTradePrice(String tradePrice) {
        this.tradePrice = tradePrice;
    }

    public int getTradeMethod() {
        return tradeMethod;
    }

    public void setTradeMethod(int tradeMethod) {
        this.tradeMethod = tradeMethod;
    }

    public String getTradeTime() {
        return tradeTime;
    }

    public void setTradeTime(String tradeTime) {
        this.tradeTime = tradeTime;
    }

    public String getTradeLocation() {
        return tradeLocation;
    }

    public void setTradeLocation(String tradeLocation) {
        this.tradeLocation = tradeLocation;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public String getCommodityPhoto() {
        return commodityPhoto;
    }

    public void setCommodityPhoto(String commodityPhoto) {
        this.commodityPhoto = commodityPhoto;
    }

    public String getReleaseId() {
        return releaseId;
    }

    public void setReleaseId(String releaseId) {
        this.releaseId = releaseId;
    }

    public String getSellerNickname() {
        return sellerNickname;
    }

    public void setSellerNickname(String sellerNickname) {
        this.sellerNickname = sellerNickname;
    }

    public String getBuyerNickname() {
        return buyerNickname;
    }

    public void setBuyerNickname(String buyerNickname) {
        this.buyerNickname = buyerNickname;
    }

    public String getSellerPhoneNumber() {
        return sellerPhoneNumber;
    }

    public void setSellerPhoneNumber(String sellerPhoneNumber) {
        this.sellerPhoneNumber = sellerPhoneNumber;
    }

    public String getBuyerPhoneNumber() {
        return buyerPhoneNumber;
    }

    public void setBuyerPhoneNumber(String buyerPhoneNumber) {
        this.buyerPhoneNumber = buyerPhoneNumber;
    }

    public String getBarterName() {
        return barterName;
    }

    public void setBarterName(String barterName) {
        this.barterName = barterName;
    }

    public List<String> getBarterPhotos() {
        return barterPhotos;
    }

    public void setBarterPhotos(List<String> barterPhotos) {
        this.barterPhotos = barterPhotos;
    }

    public String getBarterDescription() {
        return barterDescription;
    }

    public void setBarterDescription(String barterDescription) {
        this.barterDescription = barterDescription;
    }

    public int getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(int orderStatus) {
        this.orderStatus = orderStatus;
    }
}
